package com.nsgf.library.data.api;

import com.tencent.mm.opensdk.modelbiz.WXLaunchMiniProgram;

import java.text.DecimalFormat;

/**
 * Create by GC at 2024/9/23
 */
public class APIs {

    public static int isDebug = 1;
    // 接口地址
    public static String BASE_URL = isDebug == 1 ? "https://zhonghehuitong.com.cn/app-api/" : "http://192.168.0.88:48080/app-api/";
    public static String BASE_URL_ADMIN = isDebug == 1 ? "https://zhonghehuitong.com.cn/admin-api/" : "http://192.168.0.88:48080/admin-api/";
    //
//    public static String BASE_URL = "http://192.168.0.88:48080/app-api/";
//    public static String BASE_URL_ADMIN = "";
    // 图片地址
    public static String BASE_URL_IMG = "";
    // H5地址
    public static String HTTP_H5 = "";//h5


    public static DecimalFormat df = new DecimalFormat("#####0.00");

    public static String huitongbao_transfer_features = "huitongbao_transfer_features";//惠通宝转让功能 ( 1:开启 0:关闭 )
    public static String huitongbao_for_consumption_points_features = "huitongbao_for_consumption_points_features";//惠通宝兑换消费积分功能 ( 1:开启 0:关闭 )
    public static String transfer_of_benefit_points_features = "transfer_of_benefit_points_features";//福利积分转让功能 ( 1:开启 0:关闭 )
    public static String transfer_of_spending_points_features = "transfer_of_spending_points_features";//消费积分转让功能 ( 1:开启 0:关闭 )
    public static String redeem_bonus_points_features = "redeem_bonus_points_features";//兑换分红点功能 ( 1:开启 0:关闭 )


    public static String APP_ID = "wx11a1520a7456bcb8";
    public static String APP_GH_ID = "gh_da569aa73716";//wx 小程序
    public static int MINIPROGRAM_TYPE_PREVIEW = isDebug == 0 ? WXLaunchMiniProgram.Req.MINIPROGRAM_TYPE_PREVIEW
            : WXLaunchMiniProgram.Req.MINIPTOGRAM_TYPE_RELEASE;//wx 小程序


}
